class CreateCategories < ActiveRecord::Migration
  def self.up
    create_table :categories do |t|
      t.column :name,       :string
      t.column :menu_name,  :string
      t.column :body,       :text
      t.column :home_page,  :boolean
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
    end
    
    Category.create(
      :name       => "Voice Solutions",
      :menu_name  => "solutions",
      :body       => "<p>Building enhanced telephony applications is a complex business. It takes	time and focus to understand the technology and to realize its possibilities. Sometimes this means working with several different prototypes, and learning from each of them. We bring this focus and understanding each time we approach the drawing board to develop a new application or solution. For more than a decade this has meant replacing proprietary premise-based IVR and messaging systems with open standards-based services in the network. Today, it means harnessing the potential of speech recognition technology and IP telephony to create converged voice and data services that communicate freely with one another.</p>
      <p>Many factors set Vail apart. We've listened closely to our customers over the years and have shaped our application and hosting solutions in response to their diverse needs.</p>",
      :home_page  => true
    )
    Category.create(
      :name       => "Custom Voice Services",
      :menu_name  => "services",
      :body       => "<p>Vail’s entire business is focused on building, maintaining and extending the Vail Voice Platform and writing voice applications for it. Nearly all of the Vail Voice Platform components with the exception of Nuance’s voice recognition engine and Microsoft Speech Servers have been designed and developed by Vail engineers.</p><p>Vail hosts voice applications written in VoiceXML 2.1, CCXML 1.0, Microsoft Managed Code and SALT 1.0 on its proven carrier-grade platform.</p><p>Whether you are prototyping a new application, considering the outsourcing of your existing VoiceXML or applictions are ready to launch a high-volume solution requiring thousands of ports, Vail Voice Hosting provides all of the services you need to succeed.</p><p>Enterprises are taking full advantage of open standard markup languages like VoiceXML and CCXML to develop next generation IVR applications. Vail takes care of everything for low per minute rates and a modest set-up fee.</p><p>Gone is the worry of keeping in step with advances in communications technology. Gone is the expense of maintaining a telecom department. Gone too is the risk of getting trapped by proprietary systems down the line. By using open standard protocols, your company can always choose to change telephony and voice application service providers or bring everything in house at a later date. Investment in application development and integration with back-end business systems is no longer tied to a single, closed platform. Vail Hosting Solutions let you focus on your business without sacrificing control.</p>",
      :home_page  => true
    )
    Category.create(
      :name       => "Voice Hosting",
      :menu_name  => "hosting",
      :body       => "<p>Vail’s entire business is focused on building, maintaining and extending the Vail Voice Platform and writing voice applications for it. Nearly all of the Vail Voice Platform components with the exception of Nuance’s voice recognition engine and Microsoft Speech Servers have been designed and developed by Vail engineers.</p><p>Vail hosts voice applications written in VoiceXML 2.1, CCXML 1.0, Microsoft Managed Code and SALT 1.0 on its proven carrier-grade platform.</p><p>Whether you are prototyping a new application, considering the outsourcing of your existing VoiceXML or applictions are ready to launch a high-volume solution requiring thousands of ports, Vail Voice Hosting provides all of the services you need to succeed.</p><p>Enterprises are taking full advantage of open standard markup languages like VoiceXML and CCXML to develop next generation IVR applications. Vail takes care of everything for low per minute rates and a modest set-up fee.</p><p>Gone is the worry of keeping in step with advances in communications technology. Gone is the expense of maintaining a telecom department. Gone too is the risk of getting trapped by proprietary systems down the line. By using open standard protocols, your company can always choose to change telephony and voice application service providers or bring everything in house at a later date. Investment in application development and integration with back-end business systems is no longer tied to a single, closed platform. Vail Hosting Solutions let you focus on your business without sacrificing control.</p>",
      :home_page  => true
    )
    Category.create(
      :name       => "Voice Technologies",
      :menu_name  => "technologies",
      :body       => "<p>For Vail, service interruptions are intolerable. For 15 years Vail has been dedicated to understanding the cause of each interruption to ensure it does not happen again. Our service record is the best in the industry and improving each year.</p><p>To accomplish this, Vail has built the Vail Voice Platform spanning three redundant data centers each on a different power grids. Vail’s telephone network is also configured for dedicated connectivity to multiple local, long distance and data service providers. The Vail Voice Platform’s Fault-Tolerant design uses multi-levels of redundency to insure maximun application uptime under all operating conditions.</p><p>Why buy a system that is already obsolete, that requires hard-to-find technical specialists to manage and requires ongoing expensive upgrades, system support and modifications? Vail’s replaces these costs by hosting your applications in three redundent data centers that provide you 24/7 control and reporting via the web. We take care of the technology end, improving performance and adding new features, so our customers can focus on their core business. Plus Vail’s solutions are 100% open-standards compliant, so there is no risk of proprietary limitations.</p>",
      :home_page  => true
    )
  end

  def self.down
    drop_table :categories
  end
end
